package service;

import bean.Order;

import java.util.List;

public interface OrderService {
    //添加订单
    int addOrder(Order order);
    //删除订单
    boolean deleteOrder(int orderId);
    //根据用户id获得订单集合
    List<Order> getOrderListByUserId(int UserId);
    List<Order> getOrderListByScreeningScheduleId(int ScreeningScheduleId);
    boolean isSeatSold(int screeningScheduleId, String seat);
    Order getOrderById(int orderId);
}
